package com.srh.dep.web;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

public class TestServlet1 extends HttpServlet {

    public void doPost(HttpServletRequest request, HttpServletResponse response)
            throws ServletException, IOException {
        // 开始进行servlet代码开发吧
        System.out.println("servlet 6 ---");

    }

    public void doGet(HttpServletRequest request, HttpServletResponse response)
            throws ServletException, IOException {
        // 开始进行servlet代码开发吧
        System.out.println("servlet 6 ---");
        this.doPost(request,response);

    }


}
